package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelV0;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    List<NursingLevelV0> getAllLevel();

    void addLevel(NursingLevel nursingLevel);


    Page<NursingLevelV0> getByPage(String name, Integer status);

    NursingLevelV0 getById(Integer id);

    void update(NursingLevelDto dto);

    void delete(Integer id);

    void updateStatus(Integer id, Integer status);
}
